package com.bootdo.timing.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 
 * 
 * @author caisj
 * @email 1992lcg@163.com
 * @date 2020-01-05 22:43:00
 */
public class OrderDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Integer id;
	//币种
	private String currencyType;
	//购买比例
	private Integer scale;
	//购买价格
	private BigDecimal buyPrice;
	//购买数量
	private BigDecimal buyNum;
	//交易时间
	private Date tradeTime;
	//状态，默认1，创建成功，0代表已经购买成功，2代表失败
	private Integer state;
	//交易订单
	private String tradeOrder;
	//交易金额
	private BigDecimal buyAmount;

	private String  source ;

	private String  trade_id ;

	private BigDecimal  filled_fees ;

	private String  type ;

	private Long userId ;
	private Long combId ;

	//创建时间
	private Date createTime;
	//修改时间
	private Date updateTime;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：币种
	 */
	public void setCurrencyType(String currencyType) {
		this.currencyType = currencyType;
	}
	/**
	 * 获取：币种
	 */
	public String getCurrencyType() {
		return currencyType;
	}
	/**
	 * 设置：购买比例
	 */
	public void setScale(Integer scale) {
		this.scale = scale;
	}
	/**
	 * 获取：购买比例
	 */
	public Integer getScale() {
		return scale;
	}
	/**
	 * 设置：购买价格
	 */
	public void setBuyPrice(BigDecimal buyPrice) {
		this.buyPrice = buyPrice;
	}
	/**
	 * 获取：购买价格
	 */
	public BigDecimal getBuyPrice() {
		return buyPrice;
	}
	/**
	 * 设置：购买数量
	 */
	public void setBuyNum(BigDecimal buyNum) {
		this.buyNum = buyNum;
	}
	/**
	 * 获取：购买数量
	 */
	public BigDecimal getBuyNum() {
		return buyNum;
	}
	/**
	 * 设置：交易时间
	 */
	public void setTradeTime(Date tradeTime) {
		this.tradeTime = tradeTime;
	}
	/**
	 * 获取：交易时间
	 */
	public Date getTradeTime() {
		return tradeTime;
	}
	/**
	 * 设置：状态，默认1，创建成功，0代表已经购买成功，2代表失败
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	/**
	 * 获取：状态，默认1，创建成功，0代表已经购买成功，2代表失败
	 */
	public Integer getState() {
		return state;
	}
	/**
	 * 设置：交易订单
	 */
	public void setTradeOrder(String tradeOrder) {
		this.tradeOrder = tradeOrder;
	}
	/**
	 * 获取：交易订单
	 */
	public String getTradeOrder() {
		return tradeOrder;
	}
	/**
	 * 设置：交易金额
	 */
	public void setBuyAmount(BigDecimal buyAmount) {
		this.buyAmount = buyAmount;
	}
	/**
	 * 获取：交易金额
	 */
	public BigDecimal getBuyAmount() {
		return buyAmount;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：修改时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：修改时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getTrade_id() {
		return trade_id;
	}

	public void setTrade_id(String trade_id) {
		this.trade_id = trade_id;
	}

	public BigDecimal getFilled_fees() {
		return filled_fees;
	}

	public void setFilled_fees(BigDecimal filled_fees) {
		this.filled_fees = filled_fees;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getCombId() {
		return combId;
	}

	public void setCombId(Long combId) {
		this.combId = combId;
	}
}
